package com.vhall.component.entity.record;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author rui.zhou
 * @date 2021/4/25 15:30
 */

@Data
@TableName("record_attends")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RecordAttendsEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;


    @TableField("il_id")
    private Integer ilId;


    @TableField("account_id")
    private Integer accountId;

    @TableField("record_id")
    private String recordId;

    @TableField("watch_account_id")
    private Integer watchAccountId;

    @TableField("start_time")
    private LocalDateTime startTime;

    @TableField("end_time")
    private LocalDateTime endTime;


    @TableField("duration")
    private Integer duration;

    @TableField("terminal")
    private String terminal;

    @TableField("browser")
    private String browser;

    @TableField("country")
    private String country;

    @TableField("province")
    private String province;


    @TableField("created_at")
    private LocalDateTime createdAt;


    @TableField("updated_at")
    private LocalDateTime updatedAt;

    @TableField("deleted_at")
    private LocalDateTime deletedAt;

    @TableField("created_time")
    private LocalDateTime createdTime;

    @TableField("room_id")
    private String roomId;
}
